/* 基础日期选择器样式 */
.datepicker {
    position: relative;
    display: inline-block;
}

.datepicker-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.datepicker-calendar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    display: none;
}

.datepicker-calendar.show {
    display: block;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px;
}

.calendar-day-header {
    text-align: center;
    font-weight: bold;
    padding: 5px;
}

.calendar-day {
    text-align: center;
    padding: 8px;
    cursor: pointer;
}

.calendar-day:hover {
    background: #f0f0f0;
}

.calendar-day.today {
    background: #e6f7ff;
}

.calendar-day.selected {
    background: #1890ff;
    color: white;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}